package com.pmj.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.pmj.hospital.vo.req.PageReqVO;


import java.io.Serializable;

import lombok.Data;

/**
 * 身份证信息表：将IC卡作为身份证使用
 *
 * @author 庞明杰
 * @date 2020-06-01
 */
@Data
@TableName("his_idcard")
public class HisIdcardEntity extends PageReqVO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 卡号
	 */
	@TableId("card_id")
	private String cardId;

	/**
	 * 地址
	 */
	@TableField("address")
	private String address;

	/**
	 * 出生日期
	 */
	@TableField("birthday")
	private String birthday;

	/**
	 * 身份证
	 */
	@TableField("id_card")
	private String idCard;

	/**
	 * 姓名
	 */
	@TableField("name")
	private String name;

	/**
	 * 民族
	 */
	@TableField("nationality")
	private String nationality;

	/**
	 * 性别
	 */
	@TableField("sex")
	private String sex;


	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNationality() {
		return nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
}
